package great.project.common.oss2;

import lombok.*;
import lombok.experimental.Accessors;

/**
 *  Oss配置
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode()
@Accessors(chain = true)
public class OssConfiguration {

    /**
     *  访问地址
     */
    private String ossUrl;

    /**
     *  oss文件夹
     */
    private String ossDir;

    /**
     *  断点
     */
    private String ossEndPoint;

    /**
     *  桶名字
     */
    private String ossBucketName;

    /**
     *  访问id
     */
    private String ossAccessKeyId;

    /**
     *  访问秘钥
     */
    private String ossAccessKeySecret;

    /**
     *  随机生成的key的前缀
     */
    private String prefix;


}
